<div class="wrapper clearfix">
    <!-- 右边内容开始 -->
    
    <div class="contenter f-r">
        
        	<?php if(!$books):?>
        	<div class="alert alert-nobook"><img src="<?php echo base_url('static/images/duola-a-meng_06.png');?>" />该分类下的文具已经卖完了，<a href="<?php echo base_url("lists/index/1") ?>">去其他分类下看看~</a></div>
        	<?php endif;?>
        	
        	<!--<div class="list clearfix">-->
                <?php foreach ($books as $booksVal): ?>
                <div class="item">
                
                	<li class="image">
                		<a href="<?php echo base_url("lists/item/".$booksVal->book_id); ?>" target="_blank">
                			<img src="<?php echo base_url("uploads/thumb_220/".$booksVal->book_img); ?>" width="120" />
                		</a>
                	</li>
                	<div class="rightname">
                		<h3><a href="<?php echo base_url(); ?>lists/item/<?php echo $booksVal->book_id; ?>" target="_blank"><?php echo $booksVal->book_name; ?></a></h3>
	                    <li class="price clearfix"><span class="f-l"><em>￥</em><?php echo $booksVal->book_price; ?></span><span class="f-r">￥<?php echo $booksVal->book_pricing; ?></span></li>
	                    
	                    <?php if($booksVal->book_store < 1): ?>
	                    <li class="notic"><span class="label label-danger">暂时缺货</span></li> 
	                    <?php endif; ?>
                		
                	</div>
                    
                </div><!-- item -->
            	<?php endforeach; ?>
             
            <!--</div>--><!-- list -->

        <div class="pagination"><?php echo $this->pagination->pagination('3'); ?></div>

    </div><!-- contenter -->

</div><!-- wrapper -->